﻿using System;
using System.Collections.Generic;
using System.Text;
using AspNetCs.Model;
using System.Data.SqlClient;
using System.Data;

namespace AspNetCs.IDAL
{
    public interface ILoveWall
    {
        int AddLoveWallMsg(LoveWall_Model model);
        int GetLoveWallMsgNum();
        
        /// <summary>
        /// 查询留言内容
        /// </summary>
        /// <param name="searchContent"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="isCount">是否返回总条数</param>
        /// <returns></returns>
        SqlDataReader getGetLoveWallMsg(string searchContent, int pageIndex, int pageSize, int isCount);
    }
}
